Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only set mask attribute if the corresponding mask exists #112

Merged
merged 2 commits into from
Jan 31, 2023

Conversation

nhnt11
Copy link
Contributor

@nhnt11 nhnt11 commented Jan 29, 2023

Without this PR it's possible to have path groups that link to masks that don't exist because eraserPaths might be empty.

The linking of non-existent paths is what was breaking things on Firefox for me. With this PR, things seem to work great on Firefox.

@nhnt11
Copy link
Contributor Author

nhnt11 commented Jan 29, 2023

Fixes #54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants